﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.EquipmentManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.EquipmentManagement.EquipmentSpotTableVMs
{
    public partial class EquipmentSpotTableBatchVM : BaseBatchVM<EquipmentSpotTable, EquipmentSpotTable_BatchEdit>
    {
        public EquipmentSpotTableBatchVM()
        {
            ListVM = new EquipmentSpotTableListVM();
            LinkedVM = new EquipmentSpotTable_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class EquipmentSpotTable_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._EquipmentSpotTable._Equipment")]
        public long? EquipmentId { get; set; }
        [Display(Name = "_Model._EquipmentSpotTable._LineId")]
        public long? LineId { get; set; }
        [Display(Name = "_Model._EquipmentSpotTable._LineCode")]
        public string LineCode { get; set; }
        [Display(Name = "_Model._EquipmentSpotTable._OpId")]
        public long? OpId { get; set; }
        [Display(Name = "_Model._EquipmentSpotTable._OpCode")]
        public string OpCode { get; set; }
        [Display(Name = "_Model._EquipmentSpotTable._UseOperator")]
        public string UseOperator { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}